export namespace Message {
  export interface toast {
    err(title?: string): void;
    succ(title?: string): void;
    warn(title?: string): void;
    show(type?: "success" | "warning" | "error", title?: string): void;
  }

  export interface loading {
    hide(): void;
    show(type?: 1 | 2 | 3 | string, title?: 1 | 2 | 3 | string): void;
  }
}
